package gemini.castor.ui.client.service;

import gemini.basic.model.Customer;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CustomerServiceAsync {

	public void deleteCustomer(int id, AsyncCallback<Void> callback);

	public void getCustomerByDistributorCode(String code,
			AsyncCallback<List<Customer>> callback);

	public void saveOrUpdateCustomer(Customer customer, AsyncCallback<Customer> callback);


}
